Total Complexity | 20 |
Dependencies | 6 |
Dependents | 0 |
Total lines | 116 |
Lines of code | 63 |
Logical lines of code | 36 |
Comment lines | 39 |
Methods | 5 |
Properties | 0 |
Method | Rating | Maintainability | Complexity | Lines of code |
---|---|---|---|---|
add() | 48 | 8 | 32 | |
validate_cart_request() | 76 | 5 | 3 | |
remove() | 58 | 3 | 14 | |
get_cart_instance() | 65 | 3 | 8 | |
__construct() | 70 | 1 | 6 |